package com.foreknow.service;

import com.foreknow.entity.Registlevel;

import java.util.List;

public interface RegistLevelService {
    /**
     * 查询所有挂号级别
     * @return
     */
    List<Registlevel> queryAll();

    /**
     * 添加挂号等级信息
     * @param registlevel
     * @return
     */
    int insertReg(Registlevel registlevel);

    /**
     * 根据id删除挂号信息
     * @param id
     * @return
     */
    int deleteById(int id);

    /**
     * 根据id查询挂号等级信息
     * @param id
     * @return
     */
    Registlevel selectById(int id);

    /**
     * 修改挂号等级信息
     * @param registlevel
     * @return
     */
    int updateByReg(Registlevel registlevel);

    /**
     * 条件查询
     * @param registlevel
     * @return
     */
    List<Registlevel> selectByChoose(Registlevel registlevel);


}
